﻿@model MvcAtletIS.Models.Competitions

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Competitions</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">City</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">Organiser</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Organiser)
    </div>

    <div class="display-label">DateFrom</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateFrom)
    </div>

    <div class="display-label">DateTo</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateTo)
    </div>

    <div class="display-label">Deadline</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Deadline)
    </div>

    <div class="display-label">ClubsCountries</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ClubsCountries)
    </div>

    <div class="display-label">Lanes</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Lanes)
    </div>

    <div class="display-label">LanesQuality</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LanesQuality)
    </div>

    <div class="display-label">Active</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

    <div class="display-label">Sync</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sync)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
